package com.yycx.module.bus.provider.strategy;

import com.yycx.module.bus.client.entity.hy.HyOrder;
import com.yycx.module.bus.client.entity.hy.HyOrderDetail;

import java.util.Map;

/**
 * 结算策略
 *
 * @author zyf
 */
public interface SettleStrategy {

    /**
     * 设置结算政策
     *
     * @param orderDetail
     * @param hyOrder
     * @param saleManId
     */
    void setSettlePolicy(HyOrderDetail orderDetail, HyOrder hyOrder, Long saleManId);

    /**
     * 计算结算金额
     *
     * @param orderDetail
     * @param hyOrder
     * @param variable
     */
    void setSettleAmount(HyOrderDetail orderDetail, HyOrder hyOrder,  Map<String, Object> variable);
}
